import twoJIMenu from "@/layout/twoJIMenu.vue"
export const routerList =
	[
		{
			path: '/dashboard',
			name: 'dashboard',
			component: () => import('@/views/dashboard.vue'),
			meta: {
				icon: "up-square",
				menuTitle: "首页"
			}
		},
		// {
		// 	path: '/demoMixin',
		// 	name: 'demoMixin',
		// 	component: () => import('@/views/demoMixin/index.vue'),
		// 	meta: {
		// 		icon: "align-center",
		// 		menuTitle: "mixins"
		// 	}
		// },
		{
			path: '/layout',
			name: 'layout',
			component: twoJIMenu,

			meta: {
				icon: "align-center",
				menuTitle: "布局"
			},
			redirect: '/layout/pubuliu',
			children: [
				{
					path: '/layout/pubuliu',
					name: 'pubuliu',
					component: () => import('@/views/pubuliu/index.vue'),
					meta: {
						icon: "heat-map",
						menuTitle: "瀑布流"
					}
				},

				{
					path: '/layout/flexBox',
					name: 'flexBox',
					component: () => import('@/views/pubuliu/flexBox.vue'),
					meta: {
						icon: "align-center",
						menuTitle: "flex布局"
					},
				},
				// {
				// 	path: '/layout/slogan',
				// 	name: 'slogan',
				// 	component: () => import('@/views/pubuliu/slogan.vue'),
				// 	meta: {
				// 		icon: "heat-map",
				// 		menuTitle: "广告位"
				// 	}
				// },

			]

		},
		{
			path: '/treeDigui',
			name: 'treeDigui',
			component: twoJIMenu,
			meta: {
				icon: "highlight",
				menuTitle: "组件递归"
			},
			children: [
				{
					path: '/treeDigui/handleDigui',
					name: 'handleDigui',
					component: () => import('@/views/treeDigui/handleDigui/index.vue'),
					meta: {
						icon: "highlight",
						menuTitle: "递归增删改"
					}
				},
				{
					path: '/treeDigui/lineDigui',
					name: 'lineDigui',
					component: () => import('@/views/treeDigui/lineDigui/index.vue'),
					meta: {
						icon: "highlight",
						menuTitle: "递归连接线"
					}
				},

			]
		},
		{
			path: '/table',
			name: 'Table',
			component: twoJIMenu,
			meta: {
				icon: "bg-colors",
				menuTitle: "table表格"
			},
			children: [
				{
					path: '/table/oneTable',
					name: 'oneTable',
					component: () => import('@/views/table/table.vue'),
					meta: {
						icon: "bg-colors",
						menuTitle: "mock模拟接口"
					},
				},
				{
					path: '/table/tableAxios',
					name: 'tableAxios',
					component: () => import('@/views/table/tableAxios.vue'),
					meta: {
						icon: "align-center",
						menuTitle: "真实接口请求"
					}
				},
				{
					path: '/table/tsTable',
					name: 'tsTable',
					component: () => import('@/views/table/tsTable.vue'),
					meta: {
						icon: "table",
						menuTitle: "ts撰写"
					}
				},
				{
					path: '/table/gushiTable',
					name: 'gushiTable',
					component: () => import('@/views/table/gushiTable.vue'),
					meta: {
						icon: "align-center",
						menuTitle: "股票持仓查看"
					}
				},
			]
		},

		{
			path: '/canvas',
			name: 'canvas',
			component: () => import('@/views/canvas.vue'),
			meta: {
				icon: "table",
				menuTitle: "canvas合并"
			}
		},
		// {
		// 	path: '/echarts',
		// 	name: 'echarts',
		// 	component: () => import('@/views/echarts/index.vue'),
		// 	meta: {
		// 		icon: "fund",
		// 		menuTitle: "echarts图表"
		// 	}
		// },
		{
			path: '/test',
			name: 'test',
			component: () => import('@/views/test/index.vue'),
			meta: {
				icon: "fund",
				menuTitle: "测试用例"
			}
		},
		{
			path: '/python',
			name: 'python',
			component: twoJIMenu,
			redirect: '/python/comparison',
			meta: {
				icon: "up-square",
				menuTitle: "python"
			},
			children: [
				{
					path: '/python/comparison',
					name: 'comparison',
					component: () => import('@/views/python/comparison.vue'),
					meta: {
						icon: "align-center",
						menuTitle: "人脸识别"
					},
				},
				{
					path: '/python/faceRegister',
					name: 'faceRegister',
					component: () => import('@/views/python/faceRegister.vue'),
					meta: {
						icon: "align-center",
						menuTitle: "人脸注册"
					},
				},
				{
					path: '/python/faceLogin',
					name: 'faceLogin',
					component: () => import('@/views/python/faceLogin.vue'),
					meta: {
						icon: "align-center",
						menuTitle: "人脸登录"
					},
				},

			]
		},
		{
			path: '/multimedia',
			name: 'multimedia',
			component: twoJIMenu,
			meta: {
				icon: "align-center",
				menuTitle: "多媒体"
			},
			redirect: '/multimedia/video_Ts',
			children: [
				{
					path: '/multimedia/video_Ts',
					name: 'video_Ts',
					component: () => import('@/views/multimedia/video_Ts.vue'),
					meta: {
						icon: "align-center",
						menuTitle: "视频切片m3u8"
					},
				},
				{
					path: '/multimedia/subsectionUpload',
					name: 'subsectionUpload',
					component: () => import('@/views/multimedia/subsectionUpload.vue'),
					meta: {
						icon: "align-center",
						menuTitle: "分段上传与合并"
					},
				},

			]

		},
		{
			path: '/webscoket',
			name: 'webscoket',
			component: twoJIMenu,
			meta: {
				icon: "align-center",
				menuTitle: "webscoket"
			},
			redirect: '/webscoket/chat',
			children: [
				{
					path: '/webscoket/chat',
					name: 'chat',
					component: () => import('@/views/webscoket/chat.vue'),
					meta: {
						icon: "align-center",
						menuTitle: "在线聊天"
					},
				},
				{
					path: '/webscoket/wuziqi',
					name: 'wuziqi',
					component: () => import('@/views/webscoket/wuziqi.vue'),
					meta: {
						icon: "align-center",
						menuTitle: "五子棋对弈"
					},
				}
			]
		
		}

	]
